﻿<include file="Public/head"/>
    <div class="container-fluid">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h3 id="myModalLabel">添加商品</h3>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" action="{:U('Test/add')}" method="post">
                    <div class="control-group">
                        <label class="control-label">名称</label>
                        <div class="controls">
                            <input type="text" name="name" placeholder="名称">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">数量</label>
                        <div class="controls">
                            <input type="text" name="num" placeholder="数量">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">重量</label>
                        <div class="controls">
                            <input type="text" name="weight" placeholder="重量">
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">链接</label>
                        <div class="controls">
                            <input type="text" name="link" placeholder="链接">
                        </div>
                    </div>
                    <div class="modal-footer">
                        <a class="btn" href='{:U("Test/index")}'>返回</a>
                        <input type="submit" class="btn btn-primary">
                    </div>
                </form>
            </div>

    </div>

<include file="Public/foot"/>
